<?php

namespace app\home\validate;
use think\Validate;

class Withdraw extends Validate
{
    protected $rule = [
        'code'      => 'require|float',
        'pwd'       => 'require',
    ];

    protected $message = [
        'code.require'      => '提现金额不能为空',
        'code.float'        => '提现金额不合法',
        'pwd.require'       => '支付密码不能为空',
    ];
}